Component({
    options: {
        addGlobalClass: !0
    },
    data: {
        selected: 1
    },
    properties: {
        selected: {
            type: Number,
            default: 1
        }
    },
    methods: {
        switchTab: function(t) {
            console.log(t)
            wx.switchTab({
                url: t.currentTarget.dataset.url
            });
        }
    }
});